body {
  margin: 0;
  padding: 0;
    background: #E8E8E8;
    font: 1em/170% 'Helvetica',Helvetica Neue,Arial,sans-serif;
    color:  #555;
}

h6 {
  font-family: 'Annie Use Your Telescope', cursive;
  font-size:21px;
  font-weight:500;
  margin-top:1px;
}

#container {
  width: 990px;
  margin: 10px auto;
}

.wrapper {
  width: 980px;
  margin: 0 auto;
}

#main {
  background: #fff url('../images/contentBg.jpg') no-repeat;
  padding-top: 50px;
  margin-top: 20px;  width: 91%;    margin-left: 6%;
}

#logo {
  width: 200px;
  float: left;
  margin-left:40px;
}
.cleaner {clear: both;}

#header {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 970px;
  background: #fff;
  padding: 10px;
  height: 380px;
}  

#sidebar {
  width: 200px;
  float: right;
  padding-bottom: 60px;
}

#content {
  text-align: justify;  width: 80%;  padding-bottom: 40px;  padding-left: 6%;
}



body#home #content .items-leading{width: 350px;}

#sidebar ul, #sidebar li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar li {
  line-height: 30px;
  border-bottom: solid 1px #ddd;
}

#sidebar li a {
  color: #868A8E;
  text-decoration: none;
}

a, a:hover {
  color: #333;
  
}

h1 {
font: 0.9em/11px "Lucida Sans",Helvetica,"Helvetica Neue",sans-serif;
letter-spacing: 2px;
text-transform: uppercase;
font-weight: bold;
color: #CA5C4B;
margin: 0;
}

body#home h1 {display: none;}

h2 {
font: 3em/20px Helvetica,"Helvetica Neue",sans-serif;
letter-spacing: 2px;
font-weight: bold;
color: #000;
margin: 0 0 40px -2px;
}

h2 a {
  color: #000;
  text-decoration: none;
}

.blog h2 {
  font: 1.5em/1em Arial, Helvetica,"Helvetica Neue",sans-serif;
  margin: 0 0 25px -2px;
}

#content h3 {
font: 1em/20px "Lucida Sans",Helvetica,"Helvetica Neue",sans-serif;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: bold;
}

#footerLeft .custom {
  float: left;
  width: 140px;
  padding-right: 10px;
  margin-right: 20px;
  min-height: 200px;
  border-right: solid 1px #ccc;
}

#footer ul, #footer li {
  margin: 0;
  padding: 0;
  list-style: none;
  display:inline;
  padding-left:20px;
  color:#00417B;
}

#footerLeft li a{  font-size: 12px;  font-family: 'Coming Soon', cursive;  color: #202020;  text-decoration: none;  line-height: 20px;  text-transform:uppercase;}

#footer {
  width: 980px;
  margin: 10px auto;
  text-shadow:0 1px 0 #ffffff;
}
#footerLeft {
  width: 60%;
  float: left;
}

#footerRight {  text-align: right;  color:#202020;  width: 40%;  float: right;  font-family: 'Coming Soon', cursive;  font-size:12px;  text-transform:uppercase;}

#footerRight a {
  text-decoration: none;
}

#footerRight p{margin: 0;}

#footerRight ul {
  float: right;
}

#footerRight li {
  float: left;
  margin-left: 10px;
}

#nav {
  width: 650px;
  float: right;
  line-height: 20px;
  margin-top: 80px;
}

#nav ul {
  float: right;
}

#nav ul, #nav li {
  margin:0;
  list-style: none;
  padding: 0;
}

#nav li {
  float: left;
  font-size: 15px;
  padding: 0 20px;
  text-transform: uppercase;
}
@media only screen and (max-width: 1020px) {
  #nav li {
    font-size: 1.5em;
  }
}

#nav li a {
  color: #00417B;
  text-decoration: none;
  text-shadow:0 1px 0 #03115E;
  
}

#nav li ul { /* second-level lists */
  position: absolute;
  background: #fff;
  z-index: 101;
  width: 200px;
  margin-left: -20px;
  left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul a {
  color: #fff;
  text-transform: none;
  text-shadow: none;
  
}

#nav li ul ul { /* third-and-above-level lists */
  margin: -30px 0 0 180px;
}

#nav li ul li {
  width: 180px;
  border-right: none;
  line-height: 30px;
}

#nav li:hover a{
  color:#74afe4;
}

#nav li.active a {
  color:#00417B;
}

#nav li ul li:hover, #nav li ul li.active {
  background: none;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
  left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
  left: auto;
}

a img{border: none;}

#header p  {margin: 0; padding: 0; position: relative;}
#header img { display:block; position:absolute; top:0; left:0; z-index:1; }


#quotes {
  font-family:'Annie Use Your Telescope', cursive;
  font-size:30px;
  text-align:right;
  line-height:0.1em;
  float:right;
}

.clear {
  clear:both;
}

#system-message ul li {
  padding-bottom: 15px;
  color: #03115E;
}

.fbicon{
    text-align: right;
    margin-top: -45px;
    margin-right: 18px;
}

.fbicon:hover{
  opacity: .8;
}